<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ include file="/commons/taglibs.jsp" %>
<%@ include file="/commons/jquery.jsp" %>
<%@ include file="/commons/dwz.jsp" %>
<html>
  <head>
    <base href="<%=basePath%>" />
    <title>Framework</title>
  <link href="<%=basePath%>/themes/default/style.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>/themes/css/core.css" rel="stylesheet" type="text/css" />
<link href="<%=basePath%>/uploadify/css/uploadify.css" rel="stylesheet" type="text/css" />
<!--[if IE]>
<link href="themes/css/ieHack.css" rel="stylesheet" type="text/css" />
<![endif]-->

<script src="<%=basePath%>/xheditor/xheditor-1.1.9-zh-cn.min.js" type="text/javascript"></script>
<script src="<%=basePath%>/uploadify/scripts/swfobject.js" type="text/javascript"></script>
<script src="<%=basePath%>/uploadify/scripts/jquery.uploadify.v2.1.0.js" type="text/javascript"></script>


<!--
<script src="bin/dwz.min.js" type="text/javascript"></script>
-->
<script src="<%=basePath%>/scripts/dwz/dwz.regional.zh.js" type="text/javascript"></script>

<script type="text/javascript">
$(function(){
	DWZ.init("<%=basePath%>/frame/default/mainframe/dwz.frag.xml", {
		loginUrl:"<%=basePath%>/frame/default/mainframe/login_dialog.html", loginTitle:"登录",	// 弹出登录对话框
//		loginUrl:"login.html",	// 跳到登录页面
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"themes"}); // themeBase 相对于index页面的主题base路径
		}
	});
});
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="http://j-ui.com">标志</a>
				<ul class="nav">
					<li><a href="login.html">退出</a></li>
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="green"><div>绿色</div></li>
					<!--<li theme="red"><div>红色</div></li>-->
					<li theme="purple"><div>紫色</div></li>
					<li theme="silver"><div>银色</div></li>
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>

			<!-- navMenu -->
			
		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse"><div></div></div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse"><h2>导航菜单</h2><div>收缩</div></div>

				<div class="accordion" fillSpace="sidebar">
					<div class="accordionHeader">
						<h2><span>Folder</span>界面组件</h2>
					</div>
					<div class="accordionContent">
						<ul class="tree treeFolder">
							<li><a href="tabsPage.html" target="navTab">主框架面板<%=basePath %></a>
								<ul>
									<li><a href="<%=path %>/pages/Userinfo/list.jsp" target="navTab" rel="page1">增删改查例子</a></li>
									<li><a href="<%=path %>/gt-grid/demo4.jsp" target="navTab" rel="external" >gr-grid例子</a></li>
									<li><a href="<%=path %>/gt-grid/demo4.jsp" target="navTab" rel="<%=path %>/gt-grid/demo4.jsp"  external="true" fresh="true">demo5</a></li>
									<li><a href="<%=path %>/gt-grid/demo5.jsp" target="navTab" rel="<%=path %>/gt-grid/demo5.jsp" fresh="true">demo5</a></li>
									<li><a href="<%=path %>/gt-grid/w_list.html" target="navTab" rel="<%=path %>/gt-grid/w_list.html" fresh="true">dwz列表1</a></li>
								</ul>
							</li>
							
									
						</ul>
					</div>
				</div>

			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent">
					<div class="page">
					</div>
					
				</div>
			</div>
		</div>

	</div>

	<div id="footer">Copyright &copy; 2010 <a href="#" target="dialog"></a></div>


<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-16716654-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? ' https://ssl' : ' http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
</script>

</body>
</html>
